

package com.hazelcast.client.impl.spi.impl;

import com.hazelcast.core.HazelcastException;

/**
 * Signals that the invocation might contain Compact classes, and it would
 * not be safe to send that invocation now to make sure that the invariant
 * regarding not sending the data before the schemas are hold while the client
 * reconnects or retries urgent invocations.
 */
class InvocationMightContainCompactDataException extends HazelcastException {
    InvocationMightContainCompactDataException(ClientInvocation invocation) {
        super("The invocation" + invocation + " might contain Compact serialized " + "data and it is not safe to invoke it when the client is not " + "yet initialized on the cluster");
    }
}
